<div id="column-left"> {include file="blocks/list_column_left.tpl"} </div>
  <div id="content">
    <div class="breadcrumb"> &nbsp;<a href="index.html">Home&nbsp;</a> » &nbsp;<a href="#">Thể loai</a> </div>
    <h1><span class="h1-top">{$list_product_detail.0.name}</span></h1>
    <div class="product-filter">
    </div>
    <div class="product-compare"><a href="#" id="compare-total">So sánh sản phẩm {if isset($smarty.session.product_comparison)}({count($smarty.session.product_comparison)}){else} (0){/if}</a></div>
    <div class="product-list">
      
      
      
      
      {foreach $list_product_detail as $product}
      <div class="box-product">{if $product.price_old != 0}<span class="new">Sale</span>{/if} <a class="image" href="{$product.alias}.html" title="{$product.title}"> <img src="/upload/product/{$product.day_time|date_format:'%m-%Y'}/{$product.image}" alt="{$product.alias}" /></a>
        <div class="list_grid_right">
          <h3 class="name"><a href="{$product.alias}.html" title="{$product.title}">{$product.name}</a></h3>
          <p class="wrap_price"> 
          {if $product.price_old != 0}
              <span class="price-old">{number_format($product.price_old)}&nbsp;VNĐ</span>
          {/if}
              <span class="price-new">Giá: {number_format($product.price_new)}VNĐ</span> 
          {if $product.price_old != 0}
              <span class="price-tax">{if ($product.price_old < $product.price_new)}Tăng lên :{number_format($product.price_new-$product.price_old)}&nbsp;VNĐ {else}Giảm được:  {number_format($product.price_old-$product.price_new)} &nbsp;VNĐ{/if}</span>
          {/if}
           </p>
          <p class="description">{$product.info}</p>
          <p class="links_add"><a href="/san-pham-yeu-thich/{$product.alias}/">Thêm danh sách ưa thích</a> <a href="/so-sanh-san-pham/{$product.alias}">Thêm vào so sánh</a> </p>
        </div>
      </div>
      {/foreach}
    </div>
    <div class="pagination">
      <div class="results">{$pagination}</div>
    </div>
  </div>









